package com.demo.rydemo.d_resource.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ry
 * @since 2020-08-20
 */
@ApiModel
@Data
@EqualsAndHashCode(callSuper = false)
public class DResource implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value ="资源ID")
    @TableId(value = "resource_id")
    private String resourceId;

    @ApiModelProperty(value ="资源名称")
    private String resourceName;

    @ApiModelProperty(value ="图标")
    private String resourceIcon;

    @ApiModelProperty(value ="上级菜单")
    private String resourceParent;

    @ApiModelProperty(value ="资源编码")
    private String resourceCode;

    @ApiModelProperty(value ="创建时间")
    private Date createTime;

    @ApiModelProperty(value ="状态")
    private String status;


}
